package com.jx.driving.transmission;

import com.jx.driving.domain.GnssPackage;
import com.jx.driving.message.TimeTerminalTransmissionMessage;
import com.jx.driving.protocol.terminal.annotation.LimitedStringAnnotation;
import com.jx.driving.protocol.terminal.annotation.ObjectAnnotation;
import com.jx.driving.protocol.terminal.annotation.TerminalAnnotation;

/**
 * 上报教练员登出
 * 
 * @author shenliuyang
 *
 *         2016年8月14日下午4:53:12
 */
@TerminalAnnotation
public class Terminal0x0102Transmission extends TimeTerminalTransmissionMessage {

    @LimitedStringAnnotation(value = 16, order = 1)
    private String coachNo;// 教练编号
    @ObjectAnnotation(order = 2)
    private GnssPackage gnss;//

    public String getCoachNo() {
	return coachNo;
    }

    public void setCoachNo(String coachNo) {
	this.coachNo = coachNo;
    }

    public GnssPackage getGnss() {
	return gnss;
    }

    public void setGnss(GnssPackage gnss) {
	this.gnss = gnss;
    }

    @Override
    public String toString() {
	StringBuilder builder = new StringBuilder();
	builder.append("Terminal0x0102Response [coachNo=").append(coachNo).append(", gnss=").append(gnss).append("]");
	return builder.toString();
    }

}
